-- GENERATED SPELL FOR [Apothecary Renzithen] --


function spell0_16198(pUnit, Event) --6Create Restorative Draught,n/a--
pUnit:FullCastSpellOnTarget(28149,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16198', 585, 1)
end

function Sorts_16198(pUnit, Event)
local choix_sorts_16198 = math.random(0, 0)
if choix_sorts_16198 == 0 then
pUnit:RegisterEvent('spell0_16198', 1, 1)
end
end

function mob16198_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16198', math.random(1500, 3000), 1)
end

function mob16198_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16198_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16198_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16198, 1, 'mob16198_Action')
RegisterUnitEvent(16198, 2, 'mob16198_Leave')
RegisterUnitEvent(16198, 3, 'mob16198_Kill')
RegisterUnitEvent(16198, 4, 'mob16198_Die')
